package cn.ibizlab.odoo.core.odoo_payment.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_payment.domain.Payment_icon;
import cn.ibizlab.odoo.core.odoo_payment.filter.Payment_iconSearchContext;

/**
 * 实体[Payment_icon] 服务对象接口
 */

public interface IPayment_iconService{
     boolean update(Payment_icon payment_icon) ;
     void updateBatch(List<Payment_icon> payment_icons, int batchSize) ;
     boolean remove(Integer id) ;
     Payment_icon get(Integer id) ;
     Payment_icon get(Payment_icon payment_icon) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean create(Payment_icon payment_icon) ;
     void createBatch(List<Payment_icon> payment_icons, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Payment_icon> searchDefault(Payment_iconSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Payment_icon> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Payment_icon> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Payment_icon convert2Domain(cn.ibizlab.odoo.core.client.model.Ipayment_icon model ,Payment_icon domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Ipayment_icon convert2Model(Payment_icon domain , cn.ibizlab.odoo.core.client.model.Ipayment_icon model);

}
